#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright [Gtlions Lai].
# Create Date:
# Update Date:
"""summarization ahout this script.

detail ahout this script

    Class(): summarization about Class
    ...
    function(): summarization about function
    ...
"""
__authors__ = '"Gtlions Lai" <gtlions.l@qq.com>'

import fdb

conn = fdb.connect(dsn="gtlions1.fdb", user="gtlions", password="G1!tlion", charset="UTF8")
cur = conn.cursor()
# cur.execute("insert into std values (9999,'赖东叶')")
cur.execute("select * from %s where id = %i" % ('std', 9999))
for ret in cur.fetchall():
    print ret[0], ret[1], ret[2]
cur.close()
conn.commit()
conn.close()
